<?php

# experimental
class EntryImageQuery extends Doctrine_Query {
	public function addWhereEntry($entry){
		return $this->addWhereEntryId($entry->getId());
	}

	public function addWhereEntryId($entryId){
		return $this->addWhere("entry_id = ?", $entryId);
	}



}